package org.example.demo2miniotest.controller.vo;

/**
 * @author wangl
 * @date 2025/5/13
 * 统一响应视图对象
 */
public class ResultVO<T> {
    /**
     * 响应码
     */
    private Integer code;
    /**
     * 响应的消息
     */
    private String message;
    /**
     * 响应的数据
     */
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}